<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/vue/2.4.2/vue.js"></script>
    <style>
        .v-enter{
         opacity:0;}
         .v-enter-active{
   transition:opacity 2s;
    }  
  .v-leave{
      opacity: 0;
  }
  .v-leave-active{
      animation:defin 2s;
  }
  @keyframes defin {
    0%{
    transform: scale(0);
  }
  50%{
    transform: scale(1.5);
  }
  100%{
    transform: scale(1);
  }
  }
    </style>
</head>

<body>
    <div id="app">
        <button v-on:click="show=!show">动画切换</button>
        <transition>
            <p v-show="show">这是一个女的说可能但是时空女女的老师你单书名号你发十块送到条帮你发你发info啊父佛发嗲浮动佛奥父电脑哦【啊浮动能否克服额分分分诶佛女</p>
        </transition>
        </div>
    <script>
        var vm=new Vue({
           el:'#app',
           data:{
               show:true
           },
           methods:{}
        });
    </script>
</body>

</html>